package com.example.a17376052_wcp_finaltest.fragment;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import com.example.a17376052_wcp_finaltest.R;

public class Main5Activity extends AppCompatActivity {
    private Button mBtnButton31;
    private Button mBtnButton32;
    private Button mBtnButton33;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main5);
        mBtnButton31 = findViewById(R.id.btn_button31);
        mBtnButton32=findViewById(R.id.btn_button32);
        mBtnButton33=findViewById(R.id.btn_button33);
        mBtnButton31.setOnClickListener(new View.OnClickListener() {

            @Override
            public void onClick(View v) {
                // TODO Auto-generated method stub
                Intent intent = new Intent(Main5Activity.this, UnPayActivity.class);
                startActivity(intent);
                mBtnButton32.setOnClickListener(new View.OnClickListener() {

                    @Override
                    public void onClick(View v) {
                        // TODO Auto-generated method stub
                        Intent intent = new Intent(Main5Activity.this, UnFaActivity.class);
                        startActivity(intent);
                        mBtnButton33.setOnClickListener(new View.OnClickListener() {

                            @Override
                            public void onClick(View v) {
                                // TODO Auto-generated method stub
                                Intent intent = new Intent(Main5Activity.this, ShouActivity.class);
                                startActivity(intent);



                            }

                        });



                    }

                });

            }

        });

    }
}
